package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTargetBelongCycleDto
 * @使用场景
 */
@Data
public class BffTargetBelongCycleDto implements Serializable {

  /**
   * 归属周期ID
   */
  @ApiModelProperty("归属周期ID")
  private String cycleId;

  /**
   * 周期名称
   */
  @ApiModelProperty("周期名称")
  private String cycleStandardName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTargetBelongCycleDto that = (BffTargetBelongCycleDto) o;
      return  cycleId == that.cycleId&&cycleStandardName == that.cycleStandardName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), cycleId,cycleStandardName);
    }

}
